<div class="list_add"><a href="<?php echo $this->url(array('controller'=>'service',
	'action' => 'addservice'));?>"><?php echo $this->translate($this->escape("Add new service"))?></a>
</div>
<div class="list" id="list_service">
	<div class="list_title">
	<div class="ltc1_user"><?php echo $this->translate("Service code")?></div>
	<div class="ltc2_user"><?php echo $this->translate("Service description")?></div>
	</div>
	<?php $i = 0; foreach($this->services as $service) : ?>
	<?php if($i++ % 2):?>
	<div class="list_data_odd">
	<?php else:?>
	<div class="list_data_even">
	<?php endif;?>
	<div class="ldc1_user"><a href="<?php echo $this->url(array('controller' => 'service',
				'action' => 'listagentbyservice', 'service_id'=>$service->id));?>"><?php echo $this->escape($service->code);?></a></div>
	<div class="ldc2_user"><?php echo $this->escape($service->description);?></div>
	<div class="ldc3_user">
			<a href="<?php echo $this->url(array('controller' => 'service',
				'action' => 'editservice', 'id'=>$service->id));?>"><?php echo $this->translate("Edit");?></a>
			<a href="<?php echo $this->url(array('controller' => 'service',
				'action' => 'deleteservice', 'id'=>$service->id));?>"><?php echo $this->translate("Delete");?></a></div>
	</div>
	<?php endforeach;?>
</div>
